<?php
class class_docente{
	
	private $id_docente;
	private $apellido;
	private $nombre;
	private $dni;
	private $fecha_nac;
	private $email;
	private $observaciones;
	
	public function __construct($id, $surname, $name, $dni, $nac, $mail, $obs){
		$this->id_docente = $id;
		$this->apellido = $surname;
		$this->nombre = $name;
		$this->dni = $dni;
		$this->fecha_nac = $nac;
		$this->email = $mail;
		$this->observaciones = $obs;
	}
	
	public function get_id(){
		return $this->id_docente;
	}
	
	public function set_surname($new_surname){
		$this->apellido = $new_surname;
	}
	
	public function get_surname(){
		return $this->apellido;
	}
	
	public function set_name($new_name){
		$this->nombre = $new_name;
	}
	
	public function get_name(){
		return $this->nombre; 
	}
	
	public function set_dni($new_dni){
		$this->dni = $new_dni;
	}
	
	public function get_dni(){
		return $this->dni;
	}
	
	public function set_nac($new_nac){
		$this->fecha_nac = $new_nac;
	}
	
	public function get_nac(){
		return $this->fecha_nac;
	}
}
?>